package com.lyun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyun.pojo.Settings;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SettingsMapper extends BaseMapper<Settings> {

    Integer insertDefaultSettings(Settings settings);

    @Select("select stranger_question from tbl_settings where user_id = #{uid}")
    String selectQuestionById(Long uid);


//    Integer updateNotifications(Settings settings);
}
